Optimal. Leaf size=33 \[ \frac {\sin \left (a+b x^2\right )}{2 b}-\frac {\sin ^3\left (a+b x^2\right )}{6 b} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.03, antiderivative size = 33, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 2, integrand size = 12, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.167, Rules used = {3380, 2633} \[ \frac {\sin \left (a+b x^2\right )}{2 b}-\frac {\sin ^3\left (a+b x^2\right )}{6 b} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2633
Rule 3380
Rubi steps
\begin {align*} \int x \cos ^3\left (a+b x^2\right ) \, dx &=\frac {1}{2} \operatorname {Subst}\left (\int \cos ^3(a+b x) \, dx,x,x^2\right )\\ &=-\frac {\operatorname {Subst}\left (\int \left (1-x^2\right ) \, dx,x,-\sin \left (a+b x^2\right )\right )}{2 b}\\ &=\frac {\sin \left (a+b x^2\right )}{2 b}-\frac {\sin ^3\left (a+b x^2\right )}{6 b}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.02, size = 33, normalized size = 1.00 \[ \frac {\sin \left (a+b x^2\right )}{2 b}-\frac {\sin ^3\left (a+b x^2\right )}{6 b} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.72, size = 25, normalized size = 0.76 \[ \frac {{\left (\cos \left (b x^{2} + a\right )^{2} + 2\right )} \sin \left (b x^{2} + a\right )}{6 \, b} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.37, size = 26, normalized size = 0.79 \[ -\frac {\sin \left (b x^{2} + a\right )^{3} - 3 \, \sin \left (b x^{2} + a\right )}{6 \, b} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.03, size = 26, normalized size = 0.79 \[ \frac {\left (2+\cos ^{2}\left (b \,x^{2}+a \right )\right ) \sin \left (b \,x^{2}+a \right )}{6 b} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.47, size = 27, normalized size = 0.82 \[ \frac {\sin \left (3 \, b x^{2} + 3 \, a\right ) + 9 \, \sin \left (b x^{2} + a\right )}{24 \, b} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.29, size = 28, normalized size = 0.85 \[ \frac {3\,\sin \left (b\,x^2+a\right )-{\sin \left (b\,x^2+a\right )}^3}{6\,b} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.77, size = 44, normalized size = 1.33 \[ \begin {cases} \frac {\sin ^{3}{\left (a + b x^{2} \right )}}{3 b} + \frac {\sin {\left (a + b x^{2} \right )} \cos ^{2}{\left (a + b x^{2} \right )}}{2 b} & \text {for}\: b \neq 0 \\\frac {x^{2} \cos ^{3}{\relax (a )}}{2} & \text {otherwise} \end {cases} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________